const express = require('express')

const app = express()

app.get('/', (req, res) => {
  res.end('hello express')
})
app.use(express.static(__dirname + '/public'))

app.listen(3000, () => {
  console.log('服务已经启动，端口3000 正在监听中...')
})
